import request from '@/utils/request.js'
export const getArticles = (params) => {
  return request.get('/interview/query', { params })
}
export const getArticlesCollect = (params) => {
  return request.get('/interview/opt/list', { params })
}
export const getArticlesLike = (params) => {
  return request.get('/interview/opt/list', { params })
}
export const getArticlesDetail = id => {
  return request.get('/interview/show', { params: id })
}
export const updataFlag = (data) => {
  return request.post('/interview/opt', data)
}
